package yunquan.wang.modules.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.base.dao.PositionDao;
import yunquan.wang.modules.base.entity.Position;
import yunquan.wang.modules.base.service.PositionService;
/**
 *  Position Service层 实现
 *  @author 王云权  wangyunquan@gmail.com
 *  用生成器 生成于 2011-09-30 22:37
 *
 */
@Service("positionService")
@Transactional
public class PositionServiceImpl extends BaseServiceImpl<Position>
		implements PositionService {
	private PositionDao positionDao;

	@Resource(name="positionDao")
	public void setDao(PositionDao positionDao) {
		this.positionDao = positionDao;
	}

	public BaseRepository<Position, String> getDao() {
		return positionDao;
	}

}
